package com.hmall.user.server;

import com.hmall.user.Address;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface AddressService {
    /**
     * 根据id查询地址
     * @param id
     * @return
     */
    List<Address> selectById(Long id);


    /**
     * 查询地址
     * @param addressId
     * @return
     */
    Address selectAddressById(Long addressId);
}
